package com.liushao.service;

import com.liushao.entity.BorrowInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.liushao.entity.vo.BorrowInfoApprovalVO;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chen
 * @since 2025-01-03
 */
public interface BorrowInfoService extends IService<BorrowInfo> {

   public  BigDecimal getBorrowAmount(Long userId);

   public Integer getBorrowInfoStatus(Long userId);

   public void saveBorrowInfo(BorrowInfo borrowInfo, Long userId);

  public List<BorrowInfo> selectList();

   public Map<String, Object> getBorrowDetailById(Long id);

   public void approval(BorrowInfoApprovalVO borrowInfoApprovalVO);
}
